/**
  * Copyright 2019 bejson.com 
  */
package com.xingkeduo.dto.transter.verification;


import com.xingkeduo.dto.RefreshCodeResponseDto;
import com.xingkeduo.utils.ResponseUtils;
import lombok.Data;

@Data
public class ContentVerification {

    private String ticket_no;
    private String qrcode_url;

    public void covert(ResponseUtils<RefreshCodeResponseDto> responseUtils) {
        if(responseUtils.success()){
            this.ticket_no=responseUtils.getData().getTicketCode();
            this.qrcode_url=responseUtils.getData().getQrcodeUrl();
        }
    }
}